import { StyleSheet, View } from 'react-native'
import React from 'react'
import { HEIGHT, IS_IPHONEX, ScaleS } from 'src/utils/ScreenUtil'

export default function WhiteWrap (props) {
  const { children } = props
  return (
    <View style={styles.container}>
      {children}
    </View>
  )
}

const styles = StyleSheet.create({
  container: {
    borderTopLeftRadius: ScaleS(10),
    borderTopRightRadius: ScaleS(10),
    backgroundColor: 'white',
    paddingBottom: IS_IPHONEX ? ScaleS(39) : 0
  }
})
